FormData

fun FormData(vararg data: Pair<String, String>): FormData
fun FormData(vararg data: Pair<String, String>): FormData

Creates a new instance of FormData using the given data.

Parameters

data

key-value pairs that represent segments of a form data, for example, a form field content.